package com.tg.service.flow.flow;

import com.alibaba.fastjson.JSONObject;

public interface IFlowEngine {

    void run(JSONObject req);

    default boolean validateCondition(String condition, Tuple tuple) {
        return false;
    }

    default boolean validateNode(String key, Tuple tuple) {
        return false;
    }


}
